home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 7 / Amiga Format AFCD07 (Dec 1996, Issue 91).iso / serious / shareware / comms / internet / html-related / hsc / src_docs / makefile.bak < prev    next >
Makefile  |  1996-09-10  |  5KB  |  172 lines

  1. #
  2. # Makefile for hsc-documentation
  3. #
  4.  
  5. #
  6. # DESTDIR  - destination directory (relative)
  7. # IGNORE   - messages to be ignored
  8. # PRJFILE  - project file
  9. # STDINC   - standard includes for all sources
  10. # HSCMISC  - miscellaneous flags and options
  11. # HSC      - shell command that invokes hsc
  12. # HSCFLAGS - hsc options
  13. #
  14. # HSCDEPP  - shell command that invokes hscdepp
  15. #
  16.  
  17. DESTDIR =/docs/
  18. IGNORE  =ign=46
  19. PRJFILE =hsc.project
  20. STDINC  =inc/macro.hsc inc/webpage.hsc
  21. HSCMISC    =rplcent getsize compact mode=pedantic #quotemode=double
  22.  
  23. HSC     =/hsc
  24. HSCFLAGS=$(HSCMISC) $(IGNORE) prjfile=$(PRJFILE) to=$(DESTDIR) $(STDINC) \
  25.         prefsfile=/hsc.prefs
  26.  
  27. HSCDEPP =/hscdepp
  28.  
  29. #
  30. # rule to update whole docs
  31. #
  32. all : all_hsc /index.html
  33.  
  34. #
  35. # implicit rule for html-files
  36. #
  37. $(DESTDIR)%.html : %.hsc
  38.     $(HSC) $(HSCFLAGS) $< 
  39.  
  40. #
  41. # update dependencies
  42. #
  43. depend :
  44.     $(HSCDEPP) file=Makefile prjfile=$(PRJFILE) verbose
  45.  
  46. #
  47. # add new file / change includes of existing file
  48. #
  49. # example: make NEW FILE=new.hsc "INCLUDE=inc/macro.hsc inc/sepp.hsc"
  50. #
  51. NEW :
  52. ifndef FILE
  53.     @echo *** pleaese specify variable FILE (and on your option INCLUDE)
  54. else
  55.     $(HSC) $(HSCFLAGS) $(INCLUDE) from=$(FILE) 
  56. endif
  57.  
  58.  
  59. #
  60. # main page
  61. #
  62. /index.html : main_index.hsc
  63.     $(HSC) to=$@ $(HSCMISC) $<
  64.  
  65. # --- DO NOT MODIFY THIS LINE -- hsc-dependencies follow ---
  66.  
  67. # dependencies updated: Thursday 01-Aug-1996 01:42:53
  68.  
  69. all_hsc : /docs/features/spctags.html /docs/features/exec.html \
  70.     /docs/index.html /docs/updates.html /docs/features/expressions.html \
  71.     /docs/future.html /docs/messages.html /docs/features/syntax.html \
  72.     /docs/macro/attrib.html /docs/macro/flag.html /docs/macro/macros.html \
  73.     /docs/bugs.html /docs/project/prjfile.html /docs/project/makefile.html \
  74.     /docs/project/make.html /docs/project/hscdepp.html \
  75.     /docs/project/index.html /docs/options.html /docs/about.html \
  76.     /docs/copy.html /docs/examples.html /docs/install.html \
  77.     /docs/questions.html /docs/related.html /docs/require.html \
  78.     /docs/source.html /docs/features/absuris.html \
  79.     /docs/features/checkuri.html /docs/features/getsize.html \
  80.     /docs/features/if.html /docs/features/prefs.html \
  81.     /docs/features/rplcent.html /docs/features/spcattr.html \
  82.     /docs/features/strip.html /docs/distrib.html
  83.  
  84. /docs/features/spctags.html : features/spctags.hsc inc/macro.hsc \
  85.     inc/webpage.hsc
  86.  
  87. /docs/features/exec.html : features/exec.hsc inc/macro.hsc inc/webpage.hsc \
  88.     exmpl/exec.hsc exmpl/exec.hsc
  89.  
  90. /docs/index.html : index.hsc inc/macro.hsc inc/webpage.hsc
  91.  
  92. /docs/updates.html : updates.hsc inc/macro.hsc inc/webpage.hsc
  93.  
  94. /docs/features/expressions.html : features/expressions.hsc inc/macro.hsc \
  95.     inc/webpage.hsc
  96.  
  97. /docs/future.html : future.hsc inc/macro.hsc inc/webpage.hsc
  98.  
  99. /docs/messages.html : messages.hsc inc/macro.hsc inc/webpage.hsc
  100.  
  101. /docs/features/syntax.html : features/syntax.hsc inc/macro.hsc \
  102.     inc/webpage.hsc
  103.  
  104. /docs/macro/attrib.html : macro/attrib.hsc inc/macro.hsc inc/webpage.hsc
  105.  
  106. /docs/macro/flag.html : macro/flag.hsc inc/macro.hsc inc/webpage.hsc
  107.  
  108. /docs/macro/macros.html : macro/macros.hsc inc/macro.hsc inc/webpage.hsc \
  109.     exmpl/m_addr.hsc exmpl/m_addr.hsc exmpl/m_file.hsc exmpl/m_next.hsc \
  110.     exmpl/m_next.hsc
  111.  
  112. /docs/bugs.html : bugs.hsc inc/macro.hsc inc/webpage.hsc
  113.  
  114. /docs/project/prjfile.html : project/prjfile.hsc inc/macro.hsc \
  115.     inc/webpage.hsc
  116.  
  117. /docs/project/makefile.html : project/makefile.hsc inc/macro.hsc \
  118.     inc/webpage.hsc
  119.  
  120. /docs/project/make.html : project/make.hsc inc/macro.hsc inc/webpage.hsc
  121.  
  122. /docs/project/hscdepp.html : project/hscdepp.hsc inc/macro.hsc \
  123.     inc/webpage.hsc
  124.  
  125. /docs/project/index.html : project/index.hsc inc/macro.hsc inc/webpage.hsc
  126.  
  127. /docs/options.html : options.hsc inc/macro.hsc inc/webpage.hsc
  128.  
  129. /docs/about.html : about.hsc inc/macro.hsc inc/webpage.hsc
  130.  
  131. /docs/copy.html : copy.hsc inc/macro.hsc inc/webpage.hsc
  132.  
  133. /docs/examples.html : examples.hsc inc/macro.hsc inc/webpage.hsc
  134.  
  135. /docs/install.html : install.hsc inc/macro.hsc inc/webpage.hsc
  136.  
  137. /docs/questions.html : questions.hsc inc/macro.hsc inc/webpage.hsc
  138.  
  139. /docs/related.html : related.hsc inc/macro.hsc inc/webpage.hsc
  140.  
  141. /docs/require.html : require.hsc inc/macro.hsc inc/webpage.hsc
  142.  
  143. /docs/source.html : source.hsc inc/macro.hsc inc/webpage.hsc
  144.  
  145. /docs/features/absuris.html : features/absuris.hsc inc/macro.hsc \
  146.     inc/webpage.hsc
  147.  
  148. /docs/features/checkuri.html : features/checkuri.hsc inc/macro.hsc \
  149.     inc/webpage.hsc
  150.  
  151. /docs/features/getsize.html : features/getsize.hsc inc/macro.hsc \
  152.     inc/webpage.hsc
  153.  
  154. /docs/features/if.html : features/if.hsc inc/macro.hsc inc/webpage.hsc
  155.  
  156. /docs/features/prefs.html : features/prefs.hsc inc/macro.hsc \
  157.     inc/webpage.hsc
  158.  
  159. /docs/features/rplcent.html : features/rplcent.hsc inc/macro.hsc \
  160.     inc/webpage.hsc
  161.  
  162. /docs/features/spcattr.html : features/spcattr.hsc inc/macro.hsc \
  163.     inc/webpage.hsc exmpl/anchor.hsc exmpl/anchor.hsc
  164.  
  165. /docs/features/strip.html : features/strip.hsc inc/macro.hsc \
  166.     inc/webpage.hsc
  167.  
  168. /docs/distrib.html : distrib.hsc inc/macro.hsc inc/webpage.hsc
  169.  
  170. # --- DO NOT MODIFY THIS LINE -- hsc-dependencies precede ---
  171.